package com.prs.crm.domain.ca.work;


import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author YangHao
 * @E-Mail:450098606@qq.com
 * @qq:450098606
 * @version 创建时间：2012-3-28 14:42:25 入库明细
 */
@Entity
@Table(name = "ca_storeparticular")
public class Storeparticular extends BaseEntity {

	private static final long serialVersionUID = -3833060258665409530L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	/**
	 * 入库单号
	 */
	@ManyToOne
	private ProcureStore sp_procureStoreId;
	/**
	 * 数量
	 */
	private String sp_articleNumber;
	/**
	 * 物品信息ID
	 */
	@ManyToOne
	private ArticleInfo sp_articleInfoId;

	@ManyToOne
	private ArticleTypes articleType;
	
	public ArticleTypes getArticleType() {
		return articleType;
	}

	public void setArticleType(ArticleTypes articleType) {
		this.articleType = articleType;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public ProcureStore getSp_procureStoreId() {
		return sp_procureStoreId;
	}

	public void setSp_procureStoreId(ProcureStore spProcureStoreId) {
		sp_procureStoreId = spProcureStoreId;
	}

	public String getSp_articleNumber() {
		return sp_articleNumber; 
	}

	public void setSp_articleNumber(String spArticleNumber) {
		sp_articleNumber = spArticleNumber;
	}

	public ArticleInfo getSp_articleInfoId() {
		return sp_articleInfoId;
	}

	public void setSp_articleInfoId(ArticleInfo spArticleInfoId) {
		sp_articleInfoId = spArticleInfoId;
	}
	public Storeparticular(){
		
	}
}
